<?php if(!defined('THINKAPK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<title>{$page_title}</title>
<link href="{*STATIC_DOMAIN}css/common.css" rel="stylesheet" type="text/css" />
<link href="{*STATIC_DOMAIN}css/app.css" rel="stylesheet" type="text/css" />
<link href="{*STATIC_DOMAIN}css/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{*STATIC_DOMAIN}js/j.js"></script>
<script type="text/javascript" src="{*STATIC_DOMAIN}js/common.js"></script>
<style type="text/css">
.list-box .content dl dd { float:left; padding:0px 10px; width:860px; color:#666; line-height:25px; }
.topmain ul { padding:5px 10px; height:20px; line-height:20px; overflow:hidden; margin:0px; }
.topmain ul li { float:left; }
.topmain ul li a { padding:0px 5px; display:block; }
.topmain li a.cur,.topmain li a:hover { background:#6E900B; color:#FFFFFF; }
.topmain h3 { padding-left:5px; }
.topmain h3 .more a { color:#FF0000; }
</style>
</head>

<body>
<include file="THEMES_PATH/common/header" />
<script>ThinkAPK.AD('androidbanner');</script>
<include file="THEMES_PATH/common/here" />
<div class="body mtop">
	<div class="box-3 list-box">
        <h3>
        {$catinfo.cat_name}<span class="total">(搜索“<span style="color:#FF0000">{$tags}</span>”，共找到应用 <b>{$total}</b> 个)</span>
        <?php if(!empty($app_list)): ?><ul>
        <volist name="sortOrder" id="sorts">
        <li><a href="{$sorts.url}" title="{$sorts.name}"<?php if($options['dsc'] == $key):?> class="cur"<?php endif; ?>>{$sorts.name}</a></li>
        </volist>
        </ul>
        <?php endif; ?>
        </h3>
        <div class="content">
        	<?php if(!empty($app_list)): ?>
            <volist name="app_list" id="lists">
            <dl<?php if(($key+1)%2==0):?> class="odd"<?php endif;?>>
                <dt><a href="{$lists.url}" target="_blank" title="{$lists.title}"><img src="{$lists.icon}" class="icon" alt="{$lists.title}" /></a></dt>
                <dd>
                    <h4><span>{$lists.short_desc}</span><a href="{$lists.url}" target="_blank" title="{$lists.title}">{$lists.title}</a></h4>
                    <p><a href="{$lists.url}" target="_blank">{$lists.goods_brief}...</a></p>
                    <p><span class="recd fr">推荐：<em class="star{$lists.recommend}">&nbsp;</em></span><span class="red">{$lists.time}</span><span class="down_total">下载次数：{$lists.down_total} 次</span><span class="down_total">好：{$lists.good}</span><span class="down_total">不好：{$lists.bad}</span></p>
                </dd>
            </dl>
            </volist>
            
            <div id="page-div" class="mtop">
            {$pageshow}
            </div>
            <?php else: ?>
            <div style="padding:15px; color:#666; font-size:14px;">
            	没有找到与“<span style="color:#FF0000">{$tags}</span>”相关的Android应用或游戏，建议精简关键词再试。
            </div>
            <?php endif;?>
        </div>
    </div>
</div>
<div class="body mtop">
	<div class="box topmain">
    	<h3><span class="more"><a href="{:U('thinkapk://top/index')}"><strong>Android软件下载排行榜</strong></a></span>Android软件分类</h3>
        <div class="content">
        	<volist name="cates" id="cate">
            <ul>
            <li class="main"><a href="{$cate.url}" target="_blank" title="{$cate.name}"<?php if($app_id == $cate['id']):?> class="cur"<?php endif;?>><strong>{$cate.name}：</strong></a></li>
            <volist name="cate.children" id="children">
            <li><a href="{$children.url}" target="_blank" title="{$children.name}"<?php if($app_id == $children['id']):?> class="cur"<?php endif;?>>{$children.name}</a></li>
            </volist>
            </ul>
            </volist>
        </div>
    </div>
</div>

<script>ThinkAPK.AD('footerbanner');</script>
<include file="THEMES_PATH/common/footer" />
<!--[if IE 6]>
<script src="{*STATIC_DOMAIN}js/DD_belatedPNG.js"></script>
<script type="text/javascript">
  DD_belatedPNG.fix('.icon,.mtext');
</script>
<![endif]-->
</body>
</html>
